﻿use apiauth

declare @appId int


select @appId =Id
from [Application]
where Name = 'PlanProduccion'

insert into operation (ApplicationId, Name) values(@appId,'PRODUCTO_VER'  ); 

insert into operation (ApplicationId, Name) values(@appId,'PROVEEDOR_VER'  ); 

insert into operation (ApplicationId, Name) values(@appId,'PRODUCTO_SINCRONIZAR'  ); 

insert into operation (ApplicationId, Name) values(@appId,'PROVEEDOR_SINCRONIZAR'  ); 